package com.atguigu.spzx.common.anno;

import com.atguigu.spzx.common.config.UserWebMvcConfiguration;
import com.atguigu.spzx.common.interceptor.UserLoginAuthInterceptor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author mo
 * @Date 2024-06-03 19:02:30
 *
 **/
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.TYPE)
@Import(value = { UserLoginAuthInterceptor.class , UserWebMvcConfiguration.class})// 这里引入了UserLoginAuthInterceptor和UserWebMvcConfiguration，所以他们两就不需要加注解@Bean了
public @interface EnableUserWebMvcConfiguration {

}
